package com.company.作业;

import java.util.Scanner;

public class Main {
        public static void main(String[] args) {
            System.out.println("请输入三个数");
            Scanner in=new Scanner(System.in);
            int a = in.nextInt();
            int b = in.nextInt();
            int c = in.nextInt();
            if((a>b)&&(b>c)){
                System.out.println(a+" "+b+" "+c);
            }
            else if((c>b)&&(a>c)){
                System.out.println(a+" "+c+" "+b);
            }
             else if((b>a)&&(a>c)){
                System.out.println(b+" "+a+" "+c);
            }
            else if((c>a)&&(b>c)){
                System.out.println(b+" "+c+" "+a);
            }
            else if((c>b)&&(b>a)){
                System.out.println(c+" "+b+" "+a);
            }
            else if((c>a)&&(c>b)&&(a>b)){
                System.out.println(c+" "+a+" "+b);
            }




}
}














